//*** Rendering forms for recognize fractions as circle parts ***

oa.rf.properFractionsAsCircleParts = new RenderingForm(
    "properFractionsAsCircleParts",
    "A proper fraction, which is represented by a part of a circle, has to be recognized",
    RenderingModeEL.individually
);

/**
 * Decides, if a given arithmetic problem type is applicable to a
 * properFractionsAsCircleParts rendering form.
 * 
 * @author Linda Eckardt
 * @param {ArithmeticProblemType} ap Type of an arithmetic problem.
 * @return {Boolean} True if given type is applicable, else false.
 */
oa.rf.properFractionsAsCircleParts.isApplicableTo = function (apt) {
  return (
      apt instanceof ArithmeticProblemType && 
      apt.specialProblemCategory === SpecialProblemCategoryEL.RecognizeNumber &&  
      apt.numberType === NumberTypeEL.Fraction
      );  
};